<template>
  <div style="margin-bottom: 50px;">
      <router-view></router-view>
    <van-tabbar v-model="active" route >
      <van-tabbar-item icon="home-o" to="/mnA/index">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/mnA/cate">分类</van-tabbar-item>
      <van-tabbar-item icon="cart-o" to="/mnA/cart">购物车</van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/mnA/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
    data() {
        return {
            active:0,
        }
    },
}
</script>